package top.wfzzq.demo;

import static org.junit.Assert.assertEquals;

import org.junit.Test;
/**
 * MyApi單元測試
 * @author wanghui
 *
 */
public class MyApiTest {
    private MyApi api=new MyApi();
	@Test
	public void getNow() {
	 String now=api.getNow();
	 //相等测试断言，getNow返回值的长度是19
		assertEquals(now.length(),19);
	}
}
